package com.baizhi.service;

import com.baizhi.entity.Orders;
import com.baizhi.entity.UserOrders;

import java.util.List;

public interface OrdersService {
    List<Orders> findAll();
    List<Orders> findByUserId(String userId);
    List<UserOrders> showAll();
    UserOrders findById(String orderid, String productorderid);
    void save(Orders orders);
    void update(Orders ordres,String orderid);
    void delete(String id);
}
